package com.hengpeng.itfinbase.persist;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.hengpeng.common.web.annotation.HtmlInput;
import com.hengpeng.common.web.annotation.HtmlInputPattern;
import com.hengpeng.common.web.annotation.HtmlInputType;
import com.hengpeng.itfinbase.idAssign.AbstractAssign18IdEntity;

/**
 * <pre>
 * 银行产品认购意向信息
 * </pre>
 * 
 * @author weiyuan
 * @version 1.0, 2015年8月23日
 */
@Entity
public class BankProductContacts extends AbstractAssign18IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7643843243856769073L;

	/**
	 * 产品id
	 */
	private Long bankProductId;

	@Column(length = 50)
	@HtmlInput(label = "联系人名称", maxLength = 50, type = HtmlInputType.TEXT, index = 3, nullable = false)
	private String linkman;

	@Column(length = 50)
	@HtmlInput(label = "联系手机", maxLength = 50, type = HtmlInputType.TEXT, index = 4, nullable = false)
	private String linkmobile;

	@Column(length = 50)
	@HtmlInput(label = "联系邮箱", maxLength = 50, type = HtmlInputType.TEXT, index = 4, nullable = false)
	private String linkemail;

	@HtmlInput(label = "最后修改日期", type = HtmlInputType.TEXT, pattern = HtmlInputPattern.DATETIME, format = "yyyy-MM-dd HH:mm", nullable = true, index = 24)
	private Date updateTime;

	@HtmlInput(label = "创建日期", type = HtmlInputType.TEXT, pattern = HtmlInputPattern.DATETIME, format = "yyyy-MM-dd HH:mm", nullable = true, index = 24)
	private Date createTime;

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getBankProductId() {
		return bankProductId;
	}

	public void setBankProductId(Long bankProductId) {
		this.bankProductId = bankProductId;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getLinkmobile() {
		return linkmobile;
	}

	public void setLinkmobile(String linkmobile) {
		this.linkmobile = linkmobile;
	}

	public String getLinkemail() {
		return linkemail;
	}

	public void setLinkemail(String linkemail) {
		this.linkemail = linkemail;
	}

}
